package com.zhiyuancode.mqack.message.base.message;


import com.zhiyuancode.mqack.message.base.MqTypeEnum;

/**
 * @author 杨志远
 * email faryangsh@163.com
 * Date    2018-05-15
 */
public interface BasicMessage extends Message {
    default String acquireMsgAddress() {
        throw new RuntimeException("acquireMsgAddress() not implement");
    }

    default String acquireMsgContent() {
        throw new RuntimeException("acquireMsgContent() not implement");
    }

    default MqTypeEnum acquireMqType() {
        throw new RuntimeException("acquireMqType() not implement");
    }
}
